package com.ruoyi.apartments.service;
import java.util.List;
import com.ruoyi.apartments.domain.MfApartments;

/**
 * 公寓房源信息Service接口
 * 
 * @author ruoyi
 * @date 2025-07-21
 */
public interface IMfApartmentsService
{
    /**
     * 查询公寓房源信息
     * 
     * @param apartmentId 公寓房源信息主键
     * @return 公寓房源信息
     */
    public MfApartments selectMfApartmentsByApartmentId(Long apartmentId);

    /**
     * 查询公寓房源信息列表
     * 
     * @param mfApartments 公寓房源信息
     * @return 公寓房源信息集合
     */
    public List<MfApartments> selectMfApartmentsList(MfApartments mfApartments);

    /**
     * 新增公寓房源信息
     * 
     * @param mfApartments 公寓房源信息
     * @return 结果
     */
    public int insertMfApartments(MfApartments mfApartments);

    /**
     * 修改公寓房源信息
     * 
     * @param mfApartments 公寓房源信息
     * @return 结果
     */
    public int updateMfApartments(MfApartments mfApartments);

    /**
     * 批量删除公寓房源信息
     * 
     * @param apartmentIds 需要删除的公寓房源信息主键集合
     * @return 结果
     */
    public int deleteMfApartmentsByApartmentIds(Long[] apartmentIds);

    /**
     * 删除公寓房源信息信息
     * 
     * @param apartmentId 公寓房源信息主键
     * @return 结果
     */
    public int deleteMfApartmentsByApartmentId(Long apartmentId);
}
